<div class="right-sidebar-con">
	<div class="right-sidebar-main">
		<div class="right-sidebar-panel">
			<div id="quick-links" class="quick-links">
				<ul>
					<li class="quick-area quick-login sidebar-user-trigger">
						<!-- 用户 -->
						<a href="javascript:void(0);" class="quick-links-a">
							<i class="setting"></i>
						</a>
						<div class="sidebar-user quick-sidebar" style="display: none;">
							<i class="arrow-right"></i>
							<div class="sidebar-user-info">
								<empty name="_SESSION['user_id']">
								<!-- 没有登录的情况 _start -->
								<div class="SZY-USER-NOT-LOGIN" 	>
									<div class="user-pic">
										<div class="user-pic-mask"></div>
										<img src="/static/images/default_user.png">
									</div>
									<br>
									<p>
										你好！请
										<a href="{:U('user/login')}" class="color">登录</a>
										|
										<a href="{:U('user/register')}" class="color">注册</a>
									</p>
								</div>
								<!-- 没有登录的情况 _end -->
								</empty>
								<notempty name="_SESSION['user_id']">
								<!-- 有登录的情况 _start -->
								<div class="SZY-USER-ALREADY-LOGIN" >
									<div class="user-have-login">
										<div class="user-pic">
											<div class="user-pic-mask"></div>
											<img src="{$_SESSION['user_pic']}" class="SZY-USER-PIC">
										</div>
										<div class="user-info">
											<p>
												用&nbsp;&nbsp;&nbsp;户：
												<span class="SZY-USER-NAME">{$_SESSION['user_name']}</span>
											</p>

										</div>
									</div>
									<p class="m-t-10">
										<span class="prev-login">
					                      上次登录时间：
					                     <span class="SZY-USER-LAST-LOGIN">{$_SESSION['login_time']}</span>
										</span>
										<a href="{:U('user/center')}" class="btn account-btn" >个人中心</a>
										<a href="{:U('user/order')}" class="btn order-btn" >订单中心</a>
									</p>
								</div>
								<!-- 有登录的情况 _end -->
								</notempty>
							</div>
						</div>
					</li>
					<li class="sidebar-tabs">
						<!-- 购物车 -->
						<div class="cart-list quick-links-a sidebar-cartbox-trigger">
							<i class="cart"></i>
							<div class="span">购物车</div>
							<span class="ECS_CARTINFO">
               					<span class="cart_num SZY-CART-COUNT">0</span>
							</span>
						</div>
					</li>
					<!--<li class="sidebar-tabs">
						<a href="javascript:void(0);" class="mpbtn_history quick-links-a sidebar-historybox-trigger">
							<i class="history"></i>
						</a>
						<div class="popup" style="left: -121px; visibility: hidden;">
							<font id="mpbtn_histroy">我看过的</font>
							<i class="arrow-right"></i>
						</div>
					</li>-->
				
					<li>
						<a href="{:U('user/collect_store')}" target="_blank" class="mpbtn_stores quick-links-a">
							<i class="stores"></i>
						</a>
						<div class="popup" style="left: -121px; visibility: hidden;">
							我收藏的店铺
							<i class="arrow-right"></i>
						</div>
					</li>
					<li id="collectGoods">
						<a href="{:U('user/collect_shop')}" target="_blank" class="mpbtn_collect quick-links-a">
							<i class="collect"></i>
						</a>
						<div class="popup" style="left: -121px; visibility: hidden;">
							我的收藏
							<i class="arrow-right"></i>
						</div>
					</li>
				</ul>
			</div>
			<div class="quick-toggle">
				<ul>

					<li class="quick-area">
						<a class="quick-links-a" href="javascript:void(0);">
							<i class="customer-service"></i>
						</a>
						<div class="sidebar-service quick-sidebar" style="display: none;">
							<i class="arrow-right"></i>

							{:sp_getad('右侧底部客服')}
							<div class="customer-service">
								<a href="javascript:void(0);" class="service-online" title="58代言客服">
									<span class="icon-online"></span> {$web_kefu}
								</a>
							</div>
							<php>if($store_info['rel_phone']){</php>
								<div class="customer-service">
									<a href="javascript:void(0);" class="service-online" title="{$store_info['title']}店铺客服">
										<span class="icon-online" style="background: url(/themes/wnsc/Public/images/kefu.png) no-repeat;background-position: 0;background-size: 27px;"></span> {$store_info['rel_phone']}
									</a>
								</div>
							<php>}</php>
						</div>
					</li>

					<li class="quick-area">
						<a class="quick-links-a" href="javascript:void(0);">
							<i class="qr-code"></i>
						</a>
						<div class="sidebar-code quick-sidebar" style="display: none;">
							<i class="arrow-right"></i>
							<img src="{:sp_getad('右侧底部二维码')}" style="width: 130px;height: 130px;">
						</div>
					</li>
					<li class="returnTop" style="display: none;">
						<a href="javascript:void(0);" class="return_top quick-links-a">
							<i class="top"></i>
						</a>
						<div class="popup">
							返回顶部
							<i class="arrow-right"></i>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<div class="">
			
			<!--购物车 start-->

			<div class="right-sidebar-panels sidebar-cartbox animate-out" style="z-index: 1;">
				<div class="sidebar-cart-box">
					<h3 class="sidebar-panel-header">
				      <a href="javascript:void(0);" class="title" target="_blank">
				        <i class="cart-icon"></i>
				        <em class="title">购物车</em>
				      </a>
				      <span class="close-panel"></span>
				    </h3>
				    
					
				</div>
			</div>
			<!--购物车 end-->
		
	
			
		</div>
	</div>
</div>
<script type="text/javascript">
	get_cart_info();
</script>